package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.CourseComment;
import com.hualan.sfzy.mapper.BaseMapper;
import com.hualan.sfzy.vo.CourseCommentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author LENOVO
* @description 针对表【course_comment】的数据库操作Mapper
* @createDate 2025-07-16 21:31:35
* @Entity dao.CourseComment
*/
@Mapper
public interface CourseCommentMapper extends BaseMapper<CourseComment> {

    int delete(Integer id);
    int deleteBatch(Integer[] ids);

    int insert(CourseComment record);


    int update(CourseComment record);

    List<CourseComment> select(Integer courseId);

    CourseComment selectById(Integer id);

    List<CourseComment> selectAll();

    List<CourseCommentVo> selectVo(CourseCommentVo courseCommentVo);
}
